package com.zpark.beans;

import java.util.Date;

/**
 * @PackageName: com.zpark.beans
 * @ClassName: Empty
 * @Description:
 * @author: RZS
 * @date: 2023/3/27  15:30
 */
public class Empty {

    private String address;
    private Double salary;
    private Boolean bool;

    private Date time;
    private Emp emp;

    // 注意：set注入需要提供无参构造器


    @Override
    public String toString() {
        return "Empty{" +
                "address='" + address + '\'' +
                ", salary=" + salary +
                ", bool=" + bool +
                ", time=" + time +
                ", emp=" + emp +
                '}';
    }

    public Emp getEmp() {
        return emp;
    }

    public void setEmp(Emp emp) {
        this.emp = emp;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }

    public Boolean getBool() {
        return bool;
    }

    public void setBool(Boolean bool) {
        this.bool = bool;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
